﻿using System.Collections.Generic;

namespace Cms.Domain
{
    public class Application
    {
        private IList<ApplicationPage> _pages;
        private Site _site;

        public Application()
        {
            _pages = new List<ApplicationPage>();
        }

        public virtual int ID { get; set; }

        public virtual string Name { get; set; }

        public virtual string Description { get; set; }

        public virtual Site Site
        {
            get { return _site; }
            set { _site = value; }
        }

        public virtual IList<ApplicationPage> Pages
        {
            get { return _pages; }
            set { _pages = value; }
        }
    }
}